import {NgModule} from '@angular/core';
import {Routes, RouterModule} from "@angular/router";
import {HomepageComponent} from "@homepage/homepage.component";
import {MyVideoComponent} from "@homepage/homepage-share/my-video/my-video.component";
import {MyPictureComponent} from "@homepage/homepage-share/my-picture/my-picture.component";
import {ViewerAlbumComponent} from "@homepage/homepage-share/viewer/viewer.component";
import {FollowsComponent} from "@homepage/homepage-fans/follows/follows.component";
import {FansComponent} from "@homepage/homepage-fans/fans/fans.component";
import {MyFeedComponent} from "@homepage/homepage-share/my-feed/my-feed.component";
import {FollowsDynamicComponent} from "@homepage/homepage-fans/follows/follows-dynamic/follows-dynamic.component";

const routes: Routes = [
  {
    path: '',
    component: HomepageComponent,
  },
  {
    path: 'videos',
    component: MyVideoComponent,
  },
  {
    path: 'pictures',
    component: MyPictureComponent,
  },
  {
    path: 'viewer',
    component: ViewerAlbumComponent
  },
  {
    path: 'follows',
    component: FollowsComponent,
  },
  {
    path: 'follows/dynamic',
    component: FollowsDynamicComponent,
  },
  {
    path: 'fans',
    component: FansComponent,
  },
  {
    path: 'feed',
    component: MyFeedComponent,
  },
];
@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports: [RouterModule]
})
export class HomepageRoutingModule {
}
